package day9.pack1;

public class A {
    public static int age = 10;
    public static void methodA() {
        System.out.println("A static method");
    }
    public static void main(String[] args) {
        A a = new B();
        a.methodA();
    }
}
class B extends A {
    public static void methodA() {
        System.out.println("B static method");
    }

}

